package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AlbumUpdateNewDTO implements Serializable {
    /**
     * 相册id
     */
    @ApiModelProperty(value = "相册id",required = true)
    @NotNull(message = "相册id必须提交")
    private Long id;
    /**
     * 相册名称
     */
    @NotNull(message = "相册名称必须提交")
    @ApiModelProperty(value = "相册名称",required = true)
    private String name;
    /**
     * 相册简介
     */
    @ApiModelProperty(value = "相册简介",required = true)
    private String description;
    /**
     * 自定义排序序号
     */
    @ApiModelProperty(value = "自定义排序序号",required = true)
    private Integer sort;
}
